﻿<Window x:Class="Ex1SimpleLayouts.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="561">
    <StackPanel Orientation="Horizontal">
        <Button Content="SomeText 1"/>
        <Button Content="SomeText 2"/>
        <Button Content="SomeText 3"/>
        <StackPanel Orientation="Horizontal">
            <Viewbox>
                <StackPanel>
                    <Button Content="Text4"/>
                    <Button Content="Text5"/>
                    <Button Content="Text6"/>
                    <Button Content="Text7"/>
                </StackPanel>                
            </Viewbox>
        </StackPanel>
        <DockPanel LastChildFill="True">
            <Button Content="SomeText8" DockPanel.Dock="Top"/>
            <Button Content="SomeText9" DockPanel.Dock="Left"/>
            <Button Content="SomeText10" DockPanel.Dock="Bottom"/>
            <Button Content="SomeText11" DockPanel.Dock="Right"/>
            <Button Content="SomeText12" />
        </DockPanel>
    </StackPanel>
</Window>
